SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO

CREATE PROCEDURE dbo.[DnnProduct_CDS_AssetsAdd]
	@DistributorID varchar(50),
	@Identifier varchar(50),
	@CategoryID int,
	@PackageStatus tinyint,
	@Packaged bit
AS
BEGIN
	INSERT INTO [DnnProduct_CDS_Assets]
	(
		DistributorID,
		Identifier,
		CategoryID,
		PackageStatus,
		Packaged
	)
	VALUES
	(
		@DistributorID,
		@Identifier,
		@CategoryID,
		@PackageStatus,
		@Packaged
	)

	SELECT SCOPE_IDENTITY()
END
GO
